package com.csdj.t309springboot;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication//启动类
@MapperScan(basePackages = "com.csdj.t309springboot.mapper")//扫描Mapper层
@EnableTransactionManagement//开启事务管理器
public class PinTuApplication {
    public static void main(String[] args) {
        SpringApplication.run(PinTuApplication.class, args);
    }
}
